__author__ = 'exceed'

from django.forms import ModelForm
from engine.models import Post, Reply

class PostForm(ModelForm):
    class Meta:
        model = Post
        fields = ('author_name', 'author_email', 'post_subject', 'post_body', 'image')

class ReplyForm(ModelForm):
    class Meta:
        model = Reply
        fields = ('reply_name', 'reply_email', 'reply_body', 'image')